//测试
const templateMain = resolve => require(['@src/views/test/templateMain'], resolve)
const templateMain1 = resolve => require(['@src/views/test/templateMain1'], resolve)
const templateMain2 = resolve => require(['@src/views/test/templateMain2'], resolve)
const templateMain3 = resolve => require(['@src/views/test/templateMain3'], resolve)
const templateMain4 = resolve => require(['@src/views/test/templateMain4'], resolve)
const templateMain5 = resolve => require(['@src/views/test/templateMain5'], resolve)
const step = resolve => require(['@src/views/test/step'], resolve)
//登陆
const loginMain = resolve => require(['@src/views/login/loginMain'], resolve)

//我的
const myMain = resolve => require(['@src/views/my/myMain'], resolve)
const modifyPwd = resolve => require(['@src/views/my/components/modifyPwd'], resolve)
//-----------------------系统管理--------
const sysMain = resolve => require(['@src/views/sysmanage/sysMain'], resolve)
//机构管理
const branchMain = resolve => require(['@src/views/sysmanage/branch/branchMain'], resolve)
//角色管理
const rolehMain = resolve => require(['@src/views/sysmanage/role/roleMain'], resolve)
//操作员管理
const operateMain = resolve => require(['@src/views/sysmanage/imuser/operateMain'], resolve)
//授权模式
const authModel = resolve => require(['@src/views/sysmanage/authmode/authModel'], resolve)

//================================  服务控制 ========================================
//访问频率控制   D:\WokrSpace_All\PhoneBank\inmanage_web\src\views\serviceControl\frequencyMain.vue
const frequencyMain = resolve => require(['@src/views/serviceControl/frequencyMain'], resolve)
//角色管理   D:\WokrSpace_All\PhoneBank\inmanage_web\src\views\serviceControl\connMain.vue
const connControl = resolve => require(['@src/views/serviceControl/connMain'], resolve)
//操作员管理
const systemParam = resolve => require(['@src/views/serviceControl/systemSetting'], resolve)
//授权模式
const applyParam = resolve => require(['@src/views/serviceControl/applyParamMain'], resolve)
//机构管理   D:\WokrSpace_All\PhoneBank\inmanage_web\src\views\serviceControl\typhoonMain.vue
const typhoonControl = resolve => require(['@src/views/serviceControl/typhoonMain'], resolve)
//角色管理   D:\WokrSpace_All\PhoneBank\inmanage_web\src\views\serviceControl\holidayMain.vue
const holidayService = resolve => require(['@src/views/serviceControl/holidayMain'], resolve)



//=====================  授权中心  -------------------
const systemAuth = resolve => require(['@src/views/authCenter/sysAuth'], resolve)   //系统授权
const transAuth = resolve => require(['@src/views/authCenter/transAuth'], resolve)   //系统授权
const serviceAuth = resolve => require(['@src/views/authCenter/serviceAuth'], resolve)   //系统授权
const Authorizaiton = resolve => require(['@src/views/authCenter/Authorizaiton'], resolve)   //系统授权

//=====================  限额管理  -------------------
const accountLimit = resolve => require(['@src/views/limitManage/accLimit'], resolve)   //yinhang
const bankLimit = resolve => require(['@src/views/limitManage/bankLimit'], resolve)   //acc

//=====================  查询管理  -------------------
const operLog = resolve => require(['@src/views/enquiryManage/operatorQuery'], resolve)   //yinhang
const authResult = resolve => require(['@src/views/enquiryManage/authResult'], resolve)   //yinhang
//=====================  报表下载  ------------------D:\WokrSpace_All\PhoneBank\inmanage_web\src\views\reportDown\report.vue
const downReport = resolve => require(['@src/views/reportDown/report'], resolve)   //yinhang
const shortCut = resolve => require(['@src/views/my/shortMenu'], resolve)   //yinhang
//=====================  电话银行  -------------------D:\WokrSpace_All\PhoneBank\inmanage_web\src\views\phoneBank\bussinessQuery.vue
const newAccount = resolve => require(['@src/views/phoneBank/newAccount'], resolve)   //账户信息查询
const accountQuery = resolve => require(['@src/views/phoneBank/AccountEnquiry'], resolve)   //账户信息查询
const accMaintain = resolve => require(['@src/views/phoneBank/accMaintain'], resolve)   //账户 信息维护
const transEnquiry = resolve => require(['@src/views/phoneBank/bussinessQuery'], resolve)   //账户交易信息查询
const requestPIN = resolve => require(['@src/views/phoneBank/requestPIN'], resolve)   //账户 信息维护
const printPIN = resolve => require(['@src/views/phoneBank/printPIN'], resolve)   //账户交易信息查询
const accStateOper = resolve => require(['@src/views/phoneBank/accStateOper'], resolve)   //账户状态维护
const accFreezeActive = resolve => require(['@src/views/phoneBank/accFreezeActive'], resolve)   //冻结与解冻
const dealModify = resolve => require(['@src/views/phoneBank/dealModify'], resolve)   //交易修改

let routes = [
    //测试
    { path: '/test/templateMain', component: templateMain, name: 'templateMain' },
    { path: '/test/templateMain1', component: templateMain1, name: 'templateMain1' },
    { path: '/test/templateMain2', component: templateMain2, name: 'templateMain2' },
    { path: '/test/templateMain3', component: templateMain3, name: 'templateMain3' },
    { path: '/test/templateMain4', component: templateMain4, name: 'templateMain4' },
    { path: '/test/templateMain5', component: templateMain5, name: 'templateMain5' },
    { path: '/test/step', component: step, name: 'step' },
    //登陆
    { path: '/login/loginMain', component: loginMain, name: 'loginMain' },
    //我的
    { path: '/my/myMain', component: myMain, name: 'myMain' },
    { path: '/my/components/modifyPwd', component: modifyPwd, name: 'modifyPwd' },
    //--------------------系统管理------------------------------

    // 机构管理
    { path: '/sysmanage/branch/branchMain', component: branchMain, name: 'branchMain' },
    { path: '/sysmanage/sysMain', component: sysMain, name: 'sysMain' },
    { path: '/sysmanage/role/roleMain', component: rolehMain, name: 'roleMain' },
    { path: '/sysmanage/operate/operateMain', component: operateMain, name: 'operateMain' },
    { path: '/sysmanage/authModel', component: authModel, name: 'authModel' },

    //=========================服务控制-------------------------------------
    { path: '/serviceControl/frequencyMain', component: frequencyMain, name: 'frequencyMain' },
    { path: '/serviceControl/connControl', component: connControl, name: 'connControl' },
    { path: '/serviceControl/systemParam', component: systemParam, name: 'systemParam' },
    { path: '/serviceControl/applyParam', component: applyParam, name: 'applyParam' },
    { path: '/serviceControl/typhoonControl', component: typhoonControl, name: 'typhoonControl' },
    { path: '/serviceControl/holidayService', component: holidayService, name: 'holidayService' },
    //==============================授权中心-------------------
    { path: '/authCenter/sysAuth', component: systemAuth, name: 'systemAuth' },
    { path: '/authCenter/transAuth', component: transAuth, name: 'transAuth' },
    { path: '/authCenter/serviceAuth', component: serviceAuth, name: 'serviceAuth' },
    { path: '/authCenter/Authorizaiton', component: Authorizaiton, name: 'Authorizaiton' },

    //==============================限额管理-------------------
    { path: '/limit/accountLimit', component: accountLimit, name: 'accountLimit' },
    { path: '/limit/bankLimit', component: bankLimit, name: 'bankLimit' },
    //==============================限额管理-------------------
    { path: '/query/operLog', component: operLog, name: 'operLog' },
    { path: '/query/AuthResult', component: authResult, name: 'authResult' },
    { path: '/reportDown', component: downReport, name: 'downReport' },

    { path: '/personalSet', component: shortCut, name: 'shortCut' },

    //==============================电话银行-------------------
    { path: '/phoneBank/newAccount', component: newAccount, name: 'newAccount' },
    { path: '/phoneBank/accquery', component: accountQuery, name: 'accountQuery' },
    { path: '/phoneBank/accMaintain', component: accMaintain, name: 'accMaintain' },
    { path: '/phoneBank/transEnquiry', component: transEnquiry, name: 'transEnquiry' },
    { path: '/phoneBank/requestPIN', component: requestPIN, name: 'requestPIN' },
    { path: '/phoneBank/printPIN', component: printPIN, name: 'printPIN' },
    { path: '/phoneBank/accStateOper', component: accStateOper, name: 'accStateOper' },
    { path: '/phoneBank/accFreezeActive', component: accFreezeActive, name: 'accFreezeActive' },
    { path: '/phoneBank/dealModify', component: dealModify, name: 'dealModify' },
];

export default routes;